package com.fengxiaoxiaoxi.fengutils.utils.rabbit;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.context.annotation.Configuration;

@Configuration
@RabbitListener(queues = "FOURTH_DQUEUE")
public class FourthConsumer {
    @RabbitHandler
    public void process(String msg){
        System.out.println("fourth Queue received msg : " + msg);
    }
}
